Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODDispatcher


AddDispatchModule

The AddDispatchModule method adds the specified dispatch module for the specified event type to the dispatch module dictionary.

void AddDispatchModule (
                     in ODEventType eventType, 
                     in ODDispatchModule dispatchModule); 
eventType
A platform-specific event code that specifies the type of event to be handled by the new dispatch module. On the Mac OS platform, the event code is defined as an unsigned 16-bit value.
dispatchModule
A reference to a dispatch module to be added.
DISCUSSION
Your part editor calls this method to install a custom dispatch module. This method is not called by part editors under normal circumstances.

EXCEPTIONS
kODErrIllegalNullDispatchModuleInput
The dispatchModule parameter is null.
SEE ALSO
The ODEventType type (page 892).
The ODDispatcher::GetDispatchModule method (page 117).
The ODDispatcher::RemoveDispatchModule method (page 121).
The ODDispatchModule class (page 127).
"Creating a Dispatch Module" on page 447 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help